﻿using SqlSugar;

namespace Shop.Model.DB
{
    [SugarTable("Goods_Sku")]
    public class DBGoodsSku
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long SkuId { get; set; }
        /// <summary>
        /// 商品ID 
        ///</summary>
        public long GoodsId { get; set; }
        /// <summary>
        /// 商品SKU编号
        /// </summary>
        public string GoodsSku { get; set; }

        /// <summary>
        /// 规格名 
        ///</summary>
        public string SkuName { get; set; }
        /// <summary>
        /// 规格图片 
        ///</summary>
        public string SkuImg { get; set; }

        /// <summary>
        /// 小程序主图
        /// </summary>
        [SugarColumn(IsJson = true)]
        public string[] ImgList { get; set; }

        /// <summary>
        /// 说明图片
        /// </summary>
        [SugarColumn(IsJson = true)]
        public string[] ImgShow { get; set; }

        /// <summary>
        /// 价格 
        ///</summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 简要说明 
        ///</summary>
        public string Show { get; set; }
        /// <summary>
        /// 规格Key
        /// </summary>
        public string SpecsKey { get; set; }

        /// <summary>
        /// 规格说明 
        ///</summary>
        public string SpecsShow { get; set; }

        /// <summary>
        /// 重量 
        ///</summary>
        public int Weight { get; set; }
        /// <summary>
        /// 体积 
        ///</summary>
        public int Volume { get; set; }

        /// <summary>
        /// 添加时间 
        ///</summary>
        public DateTime AddTime { get; set; }
    }
}
